package com.cysion.study.entity

data class ApprovalEntity(

    val id: Int,//":1,  //审批id
    val name: String,//":"daishunfu", //申请人姓名
    val tid: String,//":1, //申请的的id
    val stid: String,//":3, //员工id
    val stName: String,//":"代顺福", //员工名字
    val type: String,//":0, //审批类型: 0.请假 1.报销 2.调休
    var remark: String,//":"请请假怎么啦", //备注
    val startTime: String,//":"2019-09-18 13:21:00", //请假开始时间
    val endTime: String,//":"2019-09-18 23:21:00", //请假结束时间
    val checkIds: String,//":"4, 3", //审核人的id,详情请看examines
    val lookIds: String,//":"4, 3", //抄送人id 详情请看copys
    val imageUrls: String,//":"", //图片字符串,数组请看imageLists
    val money: String,//":0, //报销金额
    val useTime: String,//":null, //报销使用时间
    val totalTime: String,//":"", //调休总时间
    val nowId: String,//":4, //当前审核人的id
    val status: String,//":0, //审批状态:0.审核中 1.审核通过 2.审核不通过  3.撤销
    val online: String,//":0, //是否撤销 0.未撤销 1.撤销
    val createTime: String,//":"2019-06-18 00:25:33", //申请开间
    val imageLists: MutableList<String>,//
    val examines: MutableList<ExaminesList>,//审核人
    val copys: MutableList<CopysList>,//抄送人
    val tname: String//"18628178473"
)

data class ExaminesList(
    val times: String,//":"",    //审核时间
    val stName: String,//":"高炳楠1", //审核人
    val stid: String,//":4, //员工id
    val remark: String,//":"", //审核备注
    val isChecked: String,//":0, //是否已审核 0.未审核 1.已审核
    val status: String//":0 //审核状态 0.待审核 1.同意 2.拒绝
)

data class CopysList(
    val stName: String,//":"高炳楠1", //抄送人名字
    val stid: Int//":4 //抄送人id
)